resultsIn

infix fun <S, T : Any> TransitionBuilder<S, T>.resultsIn(newState: S): TransitionDef<S, out T>

Define how a transition builder should end completing a fully defined transition definition.

Parameters

newState

result of a successful transition